<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">製令單號:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  type="text"  readonly value="{$workorder.ordernumber}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">產品名稱:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  type="text"  readonly value="{$workorder.ProductName}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">工序:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  type="text" readonly  value="{$procedure.name}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">員工名:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-man_id" data-rule="required" data-source="wu/man/index" class="form-control selectpage" name="row[man_id]" type="text" value="">
        </div>
    </div>

    {if $inputlb == 1}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">雷標編號:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control"  type="text" name="row[lbnumber]" value="">
            </div>
        </div>
    {else}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">雷標編號:</label>
            <div class="col-xs-12 col-sm-8">
                <input class="form-control"  type="text" readonly value="{$workorder.lbnumber}">
            </div>
        </div>
    {/if}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">備註:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-msg" data-rule="" class="form-control " rows="5" name="row[msg]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{$daka}</button>
        </div>
    </div>
</form>
